﻿using System;
using Autodesk.Revit.DB;

namespace YArchitech.Plumbing
{
	public class SupplyConnParameter
	{
		public Element Instance
		{
			get
			{
				return this.instance;
			}
			set
			{
				this.instance = value;
			}
		}

		public XYZ LayPoint
		{
			get
			{
				return this.layPoint;
			}
			set
			{
				this.layPoint = value;
			}
		}

		public XYZ TurnPoint
		{
			get
			{
				return this.turnPoint;
			}
			set
			{
				this.turnPoint = value;
			}
		}

		public XYZ ProPoint
		{
			get
			{
				return this.proPoint;
			}
			set
			{
				this.proPoint = value;
			}
		}

		public int IndexOfPipe
		{
			get
			{
				return this.indexOfPipe;
			}
			set
			{
				this.indexOfPipe = value;
			}
		}

		public int IndexOfElement
		{
			get
			{
				return this.indexOfElement;
			}
			set
			{
				this.indexOfElement = value;
			}
		}

		public double DistanceOfEnd
		{
			get
			{
				return this.distanceOfEnd;
			}
			set
			{
				this.distanceOfEnd = value;
			}
		}

		public int PositionFlag
		{
			get
			{
				return this.positionFlag;
			}
			set
			{
				this.positionFlag = value;
			}
		}

		public XYZ HorizontalVector
		{
			get
			{
				return this.horizontalVector;
			}
			set
			{
				this.horizontalVector = value;
			}
		}

		public bool BIsUp
		{
			get
			{
				return this.bIsUp;
			}
			set
			{
				this.bIsUp = value;
			}
		}

		private Element instance;

		private XYZ layPoint;

		private XYZ turnPoint;

		private XYZ proPoint;

		private int indexOfPipe;

		private double distanceOfEnd;

		private int indexOfElement;

		private int positionFlag;

		private XYZ horizontalVector;

		private bool bIsUp = true;
	}
}
